Optimal. Leaf size=110 \[ a^4 A \log (x)+a^4 B x+2 a^3 A c x^2+\frac {4}{3} a^3 B c x^3+\frac {3}{2} a^2 A c^2 x^4+\frac {6}{5} a^2 B c^2 x^5+\frac {2}{3} a A c^3 x^6+\frac {4}{7} a B c^3 x^7+\frac {1}{8} A c^4 x^8+\frac {1}{9} B c^4 x^9 \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.05, antiderivative size = 110, normalized size of antiderivative = 1.00, number of steps used = 2, number of rules used = 1, integrand size = 18, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.056, Rules used = {766} \[ \frac {3}{2} a^2 A c^2 x^4+2 a^3 A c x^2+a^4 A \log (x)+\frac {6}{5} a^2 B c^2 x^5+\frac {4}{3} a^3 B c x^3+a^4 B x+\frac {2}{3} a A c^3 x^6+\frac {4}{7} a B c^3 x^7+\frac {1}{8} A c^4 x^8+\frac {1}{9} B c^4 x^9 \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 766
Rubi steps
\begin {align*} \int \frac {(A+B x) \left (a+c x^2\right )^4}{x} \, dx &=\int \left (a^4 B+\frac {a^4 A}{x}+4 a^3 A c x+4 a^3 B c x^2+6 a^2 A c^2 x^3+6 a^2 B c^2 x^4+4 a A c^3 x^5+4 a B c^3 x^6+A c^4 x^7+B c^4 x^8\right ) \, dx\\ &=a^4 B x+2 a^3 A c x^2+\frac {4}{3} a^3 B c x^3+\frac {3}{2} a^2 A c^2 x^4+\frac {6}{5} a^2 B c^2 x^5+\frac {2}{3} a A c^3 x^6+\frac {4}{7} a B c^3 x^7+\frac {1}{8} A c^4 x^8+\frac {1}{9} B c^4 x^9+a^4 A \log (x)\\ \end {align*}
________________________________________________________________________________________
Mathematica [A] time = 0.01, size = 110, normalized size = 1.00 \[ a^4 A \log (x)+a^4 B x+2 a^3 A c x^2+\frac {4}{3} a^3 B c x^3+\frac {3}{2} a^2 A c^2 x^4+\frac {6}{5} a^2 B c^2 x^5+\frac {2}{3} a A c^3 x^6+\frac {4}{7} a B c^3 x^7+\frac {1}{8} A c^4 x^8+\frac {1}{9} B c^4 x^9 \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
fricas [A] time = 1.01, size = 96, normalized size = 0.87 \[ \frac {1}{9} \, B c^{4} x^{9} + \frac {1}{8} \, A c^{4} x^{8} + \frac {4}{7} \, B a c^{3} x^{7} + \frac {2}{3} \, A a c^{3} x^{6} + \frac {6}{5} \, B a^{2} c^{2} x^{5} + \frac {3}{2} \, A a^{2} c^{2} x^{4} + \frac {4}{3} \, B a^{3} c x^{3} + 2 \, A a^{3} c x^{2} + B a^{4} x + A a^{4} \log \relax (x) \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
giac [A] time = 0.15, size = 97, normalized size = 0.88 \[ \frac {1}{9} \, B c^{4} x^{9} + \frac {1}{8} \, A c^{4} x^{8} + \frac {4}{7} \, B a c^{3} x^{7} + \frac {2}{3} \, A a c^{3} x^{6} + \frac {6}{5} \, B a^{2} c^{2} x^{5} + \frac {3}{2} \, A a^{2} c^{2} x^{4} + \frac {4}{3} \, B a^{3} c x^{3} + 2 \, A a^{3} c x^{2} + B a^{4} x + A a^{4} \log \left ({\left | x \right |}\right ) \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maple [A] time = 0.04, size = 97, normalized size = 0.88 \[ \frac {B \,c^{4} x^{9}}{9}+\frac {A \,c^{4} x^{8}}{8}+\frac {4 B a \,c^{3} x^{7}}{7}+\frac {2 A a \,c^{3} x^{6}}{3}+\frac {6 B \,a^{2} c^{2} x^{5}}{5}+\frac {3 A \,a^{2} c^{2} x^{4}}{2}+\frac {4 B \,a^{3} c \,x^{3}}{3}+2 A \,a^{3} c \,x^{2}+A \,a^{4} \ln \relax (x )+B \,a^{4} x \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maxima [A] time = 0.48, size = 96, normalized size = 0.87 \[ \frac {1}{9} \, B c^{4} x^{9} + \frac {1}{8} \, A c^{4} x^{8} + \frac {4}{7} \, B a c^{3} x^{7} + \frac {2}{3} \, A a c^{3} x^{6} + \frac {6}{5} \, B a^{2} c^{2} x^{5} + \frac {3}{2} \, A a^{2} c^{2} x^{4} + \frac {4}{3} \, B a^{3} c x^{3} + 2 \, A a^{3} c x^{2} + B a^{4} x + A a^{4} \log \relax (x) \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
mupad [B] time = 0.05, size = 96, normalized size = 0.87 \[ \frac {A\,c^4\,x^8}{8}+\frac {B\,c^4\,x^9}{9}+A\,a^4\,\ln \relax (x)+B\,a^4\,x+2\,A\,a^3\,c\,x^2+\frac {2\,A\,a\,c^3\,x^6}{3}+\frac {4\,B\,a^3\,c\,x^3}{3}+\frac {4\,B\,a\,c^3\,x^7}{7}+\frac {3\,A\,a^2\,c^2\,x^4}{2}+\frac {6\,B\,a^2\,c^2\,x^5}{5} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
sympy [A] time = 0.22, size = 117, normalized size = 1.06 \[ A a^{4} \log {\relax (x )} + 2 A a^{3} c x^{2} + \frac {3 A a^{2} c^{2} x^{4}}{2} + \frac {2 A a c^{3} x^{6}}{3} + \frac {A c^{4} x^{8}}{8} + B a^{4} x + \frac {4 B a^{3} c x^{3}}{3} + \frac {6 B a^{2} c^{2} x^{5}}{5} + \frac {4 B a c^{3} x^{7}}{7} + \frac {B c^{4} x^{9}}{9} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________